Bundler\Helpers\Ajax S

Total Complexity 49
Dependencies 3
Dependents 1
Total lines 313
Lines of code 170
Logical lines of code 101
Comment lines 80
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_to_cart()
A
44 12 41
is_product_in_stock()
S
57 7 16
get_public_endpoints()
S
59 6 13
new_offer()
S
60 4 12
update_offer()
S
60 4 12
search_products()
S
53 3 22
verify_nonce()
S
63 4 9
handle_public_ajax()
S
69 2 6
handle_private_ajax()
S
67 2 7
init()
S
77 1 4
get_available_public_endpoints()
S
74 1 5
get_available_private_endpoints()
S
64 1 10
delete_offer()
S
70 1 6
change_offer_status()
S
68 1 7